package com.api.pay.config;

import com.alibaba.nacos.api.config.ConfigType;
import com.alibaba.nacos.api.config.annotation.NacosConfigurationProperties;
import lombok.Data;
import org.springframework.stereotype.Component;

@Component
@Data
@NacosConfigurationProperties(prefix = "api-pay.alipay",type = ConfigType.YAML, dataId = "api-pay", autoRefreshed = true)
public class ApiPayConfig {
    private String privateKey;
    private String publicKey;
    private String serverUrl;
    private String appId;
    private String format;
    private String charset;
    private String signType;
}
